package com.zlm.user.emp.service.impl;

import com.zlm.common.base.AbstractBaseService;
import com.zlm.user.emp.dao.SysIndustryDao;
import com.zlm.common.entity.SysIndustryDO;
import com.zlm.user.emp.service.SysIndustryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author: duyufu
 * @Date: 2019/4/24 14:26
 */
@Service
public class SysIndustryServiceImpl extends AbstractBaseService<SysIndustryDao, SysIndustryDO> implements SysIndustryService {

    @Autowired
    @Override
    public void setBaseDao(SysIndustryDao sysIndustryDao) {
        this.baseDao = sysIndustryDao;
    }

    @Override
    public List<Map<String, Object>> getAllIndustry() {
        return baseDao.getAllIndustry();
    }

    @Override
    public List<Map<String, Object>> queryIndustryList(List<Integer> industryList) {
        return baseDao.queryIndustryList(industryList);
    }
}
